Xamarin.iOS Documentation | ComponentOne
C1.iOS.Core Assembly / C1.iOS.Core Namespace / C1Icon Class / AddObserver Method / AddObserver(String,NSKeyValueObservingOptions,Action<NSObservedChange>) Method


In This Topic
    AddObserver(String,NSKeyValueObservingOptions,Action<NSObservedChange>) Method
    In This Topic
    Syntax
    'Declaration
     
    
    Public Overloads Function AddObserver( _
       ByVal key As String, _
       ByVal options As Foundation.NSKeyValueObservingOptions, _
       ByVal observer As Action(Of NSObservedChange) _
    ) As IDisposable
    'Usage
     
    
    Dim instance As C1Icon
    Dim key As String
    Dim options As Foundation.NSKeyValueObservingOptions
    Dim observer As Action(Of NSObservedChange)
    Dim value As IDisposable
     
    value = instance.AddObserver(key, options, observer)
    public IDisposable AddObserver( 
       string key,
       Foundation.NSKeyValueObservingOptions options,
       Action<NSObservedChange> observer
    )

    Parameters

    key
    options
    observer
    See Also